package com.zx.mes.hyl.zuul.service.impl;

import com.zx.mes.hyl.zuul.pagemodel.UserInfo;
import com.zx.mes.hyl.zuul.service.UserServiceI;
import org.springframework.stereotype.Service;

/**
 * @author hyl
 * @date 2017-12-17
 */
@Service
public class UserServiceImpl implements UserServiceI {
    @Override
    public UserInfo login(String username, String password) {
        UserInfo userInfo=new UserInfo("admin","hyl","1","123456");
        if (userInfo.getUniqueName().equalsIgnoreCase(username)){
            return userInfo;
        }
        return null;
    }
}
